package com.liuzihao.cloudLzhConsumer;

import com.liuzihao.myself.MyRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @Author: Liuzihao
 * @Description:
 * @Date Created in 2021-10-21 21:06
 * @Modified By:
 */
@SpringBootApplication
@RibbonClient(name = "CloudPayment", configuration = MyRule.class)//要对某个服务源设置特有的策略
public class CloudLzhConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudLzhConsumerApplication.class, args);
    }
}
